<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:a="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:c="http://java.sun.com/jstl/core">

	<rich:modalPanel id="verificarAnuncioModal" autosized="true"
		width="400" showWhenRendered="#{verificar.mostrarVerificar}">
		<f:facet name="header">
			<h:panelGroup>
				<h:outputText value="#{messages['titulo.modal.VerificarAnuncio']}"></h:outputText>
			</h:panelGroup>
		</f:facet>
		<h:form>
			<rich:spacer height="20" />
			<h:panelGrid columns="2">
				<h:outputLabel value="#{messages['label.anuncio.fechaPublicacion']}"
					styleClass="labelTablon" />
				<rich:calendar datePattern="dd/MM/yyyy HH:mm" required="true"
					label="#{messages['label.anuncio.fechaPublicacion']}"
					value="#{verificar.anuncioVerificar.fpublicacion}" />

			</h:panelGrid>
			<rich:spacer height="20" />
			<h:panelGrid columns="2" styleClass="width100 centrado">
				<a:commandButton title="#{messages['boton.cerrar']}"
					styleClass="icono32 cerrar" immediate="true"
					actionListener="#{verificar.cerrarVerificar}"
					reRender="verificarAnuncioModal" />
				<a:commandButton title="#{messages['boton.aceptar']}"
					actionListener="#{verificar.verificarAnuncio}"
					styleClass="icono32 ok"
					reRender="verificarAnuncioModal,idTabBandeja" />
			</h:panelGrid>
		</h:form>
	</rich:modalPanel>

</ui:composition>